#include "dttapp.h"
#include <QtGui/QApplication>
#include <QGLWidget>
#include <iostream>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    if (!QGLFormat::hasOpenGL()) {
        std::cerr << "This system has no OpenGL support" << std::endl;
        return 1;
    }

    DTTApp w;
    w.show();
    return a.exec();
}
